package com.yunban.project.api.text_check.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.lab1024.sa.base.ProjectConstants;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 63231
 */
@Data
@Schema(description = "文本纠错任务")
@TableName(value = ProjectConstants.TEXT_TABLE_PREFIX + "correct_task", autoResultMap = true)
public class TextCorrectTask implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String correctTaskId;
    @Schema(description = "文本")
    private String text;
    private boolean finished = false;
    @TableField(fill = FieldFill.INSERT)
    private long createdBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}